<?php
$inc_path = "./";
require($inc_path."global.php");
uses("setting");
$setting = new Settings();

$find_what = (empty($_GET['q']))?"site_description":trim($_GET['q']);

setvar("ListsPage", $tmp_listspages);
if (!empty($find_what)) {
	$userpage->primaryKey = "ub";
	$find_content = $userpage->read("uc,ua,uf", $find_what);
	if (empty($find_content) || !$find_content) {
		$find_content['uc'] = $setting->field("ab", "aa='site_description'");
		$find_content['ua'] = "";
	}
	uaAssign(array("info"=> $find_content['uc'],"Title"=> $find_content['ua']));
	if(isset($find_content['ua'])) {
		setvar("PageTitle", $find_content['ua']);
	}
}
template($theme_name."/about_index");
?>